package com.mo.service;

import com.github.pagehelper.PageInfo;
import com.mo.model.TClue;
import com.mo.query.ClueQuery;

import java.io.InputStream;
import java.util.List;

/**
 * @author mo
 * version
 */
public interface ClueService {
    PageInfo<TClue> getClueByPage(Integer current);

    void importExcel(InputStream inputStream,String token);

    Boolean checkPhone(String phone);

    int saveClue(ClueQuery clueQuery);

    TClue getClueById(Integer id);

    int updateClue(ClueQuery clueQuery);

    int deleteClueById(Integer id);

    int batchDelClueByIds(List<String> idList);
}
